package com.example.test.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 商品信息表
 * </p>
 *
 * @author dz
 * @since 2022-04-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Goods extends Model<Goods> {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "goods_id", type = IdType.AUTO)
    private Long goodsId;

    /**
     * 商品名
     */
    private String goodsName;

    /**
     * 商品品牌id
     */
    @TableField("goods_Braend")
    private Long goodsBraend;

    /**
     * 商品分类id
     */
    @TableField("goods_Type")
    private Long goodsType;

    /**
     * 商品余量
     */
    @TableField("goods_Remain")
    private Long goodsRemain;

    /**
     * 商品进价
     */
    @TableField("purchase_Price")
    private Double purchasePrice;

    /**
     * 商品售价
     */
    @TableField("sell_Price")
    private Double sellPrice;

    @TableLogic
    private Boolean deleted;

    private Date createTime;

    private Date updateTime;

    private Date deletedTime;




}
